package cn.wzptsoft.mall.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("poster_item")
@Data
public class PosterItem extends PublicFeilds {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer posterId;
    private Integer spuId;
    private String img;

    public PosterItem(String img){
        this.img=img;
    }

    @Override
    public void setCreateTime(LocalDateTime createTime) {
        super.setCreateTime(createTime);
    }

    @Override
    public LocalDateTime getCreateTime() {
        return super.getCreateTime();
    }

    @Override
    public LocalDateTime getUpdateTime() {
        return super.getUpdateTime();
    }

    @Override
    public Long getCreator() {
        return super.getCreator();
    }

    @Override
    public Long getUpdater() {
        return super.getUpdater();
    }

    @Override
    public Long getUpdator() {
        return super.getUpdator();
    }

    @Override
    public void setUpdateTime(LocalDateTime updateTime) {
        super.setUpdateTime(updateTime);
    }

    @Override
    public void setCreator(Long creator) {
        super.setCreator(creator);
    }

    @Override
    public void setUpdator(Long updator) {
        super.setUpdator(updator);
    }

    @Override
    public void setUpdater(Long updater) {
        super.setUpdater(updater);
    }

    // Getters and Setters
}